TestTube : A System for Selective Regression

نویسندگان

  • Yih-Farn Chen
  • David S. Rosenblum
چکیده

This paper describes a system called TestTube that combines static and dynamic analysis to perform selective retesting of software systems written in C. TestTube rst identiies which functions, types, variables and macros are covered by each test unit in a test suite. Each time the system under test is modi-ed, TestTube identiies which entities were changed to create the new version. Using the coverage and change information, TestTube selects only those test units that cover the changed entities for testing the new version. We have applied TestTube to selective retesting of two software systems, an I/O library and a source code analyzer. Additionally, we are adapting TestTube for selective retesting of nondeterministic systems, where the main drawback is the unsuitability of dynamic analysis for identiication of covered entities. Our experience with TestTube has been quite encouraging, with an observed reduction of 50% or more in the number of test cases needed to test typical software changes.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Comparative Study of Coarse - and Fine - Grained Safe Regression Test Selection

Regression test selection techniques reduce the cost of regression testing by selecting a subset of an existing test suite for reveri cation of a modi ed program. Over the past two decades, numerous regression test-selection techniques have been described in the literature. Initial empirical studies of a few of these techniques have shown that they can be bene cial, but so far, few studies have...

متن کامل

Using Coverage Information to Predict the Cost-Effectiveness of Regression Testing Strategies

Selective regression testing strategies attempt to choose an appropriate subset of test cases from among a previously run test suite for a software system, based on information about the changes made to the system to create new versions. Although there has been a significant amount of research in recent years on the design of such strategies, there has been very little investigation of their co...

متن کامل

A Comparative Study of Coarse - and Fine - Grained Safe RegressionTest

Regression test selection techniques reduce the cost of regression testing by selecting a subset of an existing test suite to use in retesting a modiied program. Over the past two decades, numerous regression test selection techniques have been described in the literature. Initial empirical studies of some of these techniques have suggested that they can indeed beneet testers, but so far, few s...

متن کامل

A Comparative Study of Regression Test Selection

Regression test selection techniques attempt to reduce the cost of regression testing by selecting a subset of an existing test suite for execution on a modiied program. Over the past two decades, numerous regression test selection techniques have been described in the literature. Initial empirical studies of a few of these techniques have shown that they can be beneecial, but the studies were ...

متن کامل

Empirical Studies of a Prediction Model for Regression TestSelectionMary

Regression testing is an important testing activity that can account for a large proportion of the cost of software maintenance. One approach to reducing the cost of regression testing is to employ a selective regression testing technique that (1) selects a subset of a test suite that was used to test the software before the modiications, and then (2) uses this subset to test the modiied softwa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994